import { SystemStatus } from "../emum";

export namespace Role {
    export interface Row {
        createBy?: string;
        createTime?: string;
        id: string;
        remark?: string;
        roleKey: string;
        roleName: string;
        roleSort?: number;
        status: SystemStatus;
        updateBy?: string;
    }
    export interface Query {
        status?: SystemStatus;
        remark?: string;
        roleName: string;
    }
    export interface Form {
        id?: string;
        roleName: string;
        roleKey: string;
        roleSort: number;
        status: string;
        remark?: string;
    }
    export interface StatusVo {
        roleId: string;
        status: SystemStatus;
    }
    export interface AuthMenu {
        menuIdList: Array< string>;
        roleId: string;
    }
    // 授权用户
    export interface AuthUser {
        userIdList: Array< string>;
        roleId: string;
    }
    export interface RoleMenu {
        id: string;
        roleId: string;
        menuId: string;
      }
   
}